#include<stdio.h>

int main()
{
	printf("Please input the number of electorate:\n");
	int elector;
	scanf("%d",&elector);
	printf("Please input 1or2or3\n");
	int elect[15];
	int i;
	int one=0,tow=0,three=0,abstention=0;//abstention n:弃权
	for(i=0;i<15;i++)
	scanf("%d",&elect[i]);
	
	for(i=0;i<15;i++)
	{
		if(elect[i]==1) one++;
		else if(elect[i]==2) tow++;
		else if(elect[i]==3) three++;
		else abstention++;
	}
	printf("The Result:\n");
	printf("The candidate1: %d\n",one);//candidate n:候选人
	printf("The candidate2: %d\n",tow);
	printf("The candidate3: %d\n",three);
	return 0;
}
